package com.ljx.itbbs.server.user.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 角色菜单关联表
 * </p>
 *
 * @author LiJunXi
 * @since 2024-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_role_menu_relation")
public class RoleMenuRelationEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
      @TableId("role_id")
    private Long roleId;

    /**
     * 后端菜单ID
     */
    @TableField("menu_id")
    private Long menuId;


}
